<!doctype html>
<html lang="zh-CN">
{% load static %}
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>学生评价首页</title>
    <link rel="shortcut icon" href="{% static 'img/logo.png' %}">

    <!-- Bootstrap -->
    <link rel="stylesheet" href="{% static 'bootstrap3/css/bootstrap.min.css' %}"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->

    <style>
        .footer {
            background-color: #333;
        }
    </style>
</head>
{% load static %}
<body background="{% static 'img/img.png' %}" style=" background-repeat:no-repeat ;background-size:100% 100%;
background-attachment: fixed;">


<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" style="padding: 3px 0px 3px 3px;margin: 0px">
                <img alt="Brand" width="45px" height="45px" src="{% static 'img/logo.png' %}">
            </a>


            <b><a class="navbar-brand" style="font-size: 15px;">教师教学质量评价系统的设计</a></b>
        </div>
        <div id="navbar" class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li class="{% block DaiPingJia %}{% endblock %}"><a href="/students/">待评价&nbsp;
                    {% if book.count %}
                        <span class="badge" style="background-color: brown">{{ book.count }}
                    {% endif %}

                    </span></a></li>
                <li class="{% block YiPingJia %}

                {% endblock %}"><a href="/students/ok_pingjia/">已评价
                    &nbsp;
                    {% if book1.count %}
                        <span class="badge" style="background-color: cadetblue">{{ book1.count }}</span>
                    {% endif %}
                </a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right" style="margin-right: 20px">

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">欢迎您：{{ request.session.xuehao }} <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="/students/update_password/">修改密码</a></li>
                        <li><a href="/logout/">退出登录</a></li>

                    </ul>
                </li>
            </ul>
            {#            <ul class="nav navbar-nav navbar-right">#}
            {#                <li><a href="">欢迎您{{ request.session.xuehao }}</a></li>#}
            {#                {% if request.session.xuehao %}#}
            {#                    <li>#}
            {#                        <a href="/students/update_password/">修改密码</a>#}
            {#                    </li>#}
            {#                    <li>#}
            {#                        <a href="/logout/">退出登录</a>#}
            {#                    </li>#}
            {#                {% endif %}#}
            {#            </ul>#}
        </div><!--/.nav-collapse -->
    </div>
</nav>
{% block index %}

{% endblock %}


<script>
    {{ msg }}
</script>
<footer class="footer navbar-fixed-bottom ">
    <div class="container ">
        <h5 class="text-muted">© 2022 教师教学质量评价系统的设计与实现</h5>
    </div>
</footer>


<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"
        integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ"
        crossorigin="anonymous"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="{% static 'bootstrap3/js/bootstrap.min.js' %}"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>
</body>
</html>